When I try to embedd a YouTube video in the Create Content/Video section I get the error message below. I'm using a standard YouTube URL - http://youtube.com/watch?v=15Uxbv4WOpo. Could it be conflicting with the clean url SEo friendly url mods? Please advise.

"The Youtube Video URL validation as failed for some reason. Please check the URL and try again.
If the error persists please contact Team Diets administrators.

The Youtube validation service reported the following error: Bad, unknown, or disabled dev_id specified. "

Comments

fax8’s picture

Status: Active » Fixed

The new video module version support checking of the validity of a Youtube video using the Youtube XML APIs.

In order to let this work you have to get a youtube developer id from your youtube profile: http://www.youtube.com/my_profile_dev.

Once you got one, just insert it on the youtube module configuration page.

Setting this as fixed. Let us know if you still have problems.

teamdiets’s picture

Ok, I added the developer id. Now I get this error when trying to embed a YouTube video:

Fatal error: Call to undefined function: dm() in /home/teamdiet/public_html/modules/video/plugins/video_image/video_image.module on line 273

vhmauery’s picture

oops. I think that may have gotten committed when I accidentally committed changes to that file when committing changes to another file. I have removed that line in CVS.

summit’s picture

I removed the line:

dm($node); 

And it is working!
But shouldn't uploading an image be required, because the node otherwise shows a missing image tag?

greetings,
Martijn

fax8’s picture

This morning I committed a fix to the missing image tag bug. Please wait till it is included in the automatically generated -dev version.

teamdiets’s picture

I'm not clear on what I need to do. I'm still getting the error:

Fatal error: Call to undefined function: dm() in /home/teamdiet/public_html/modules/video/plugins/video_image/video_image.module on line 273

teamdiets’s picture

Excuse me as a new Drupal users but what is "the automatically generated -dev version."

What am I supposed to do?

fax8’s picture

get this version of the video module and install it: http://drupal.org/node/120303

This is an automatically generated revision. Every time we commit something new this is updated (once a day) and can be deployed by users.

Let us know if you still have problems.

teamdiets’s picture

That worked! Thanks.

1a1o’s picture

it didn't work for me :'(

The Youtube validation service reported the following error: Bad, unknown, or disabled dev_id specified.

1a1o’s picture

nevermind i got it working!

nice job!

sbhattarai’s picture

"Once you got one, just insert it on the youtube module configuration page."

Hi, how to navigate to this page?

Thanks

fax8’s picture

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

riwaj’s picture

Status: Closed (fixed) » Active

I am sorry to bother you on the same question but I had no other option.
I got developer Id from youtube but couldn't find place to paste it in administer->site configuration->video.
There were just 5 options:
General behavior
Video Resolution
Statistics counter
Flash settings
Ogg theora settings

Can u please help me?

sincerely

jenlampton’s picture

Be Sure that you have the youtube video module enabled at /admin/build/modules. The YouTube settings are at /admin/settings/video/youtube. That is where you enter your developer ID.

Hope that helps,
Jen

riwaj’s picture

Sorrry but it didn't!
I have youtube and all companion modules that come along enabled in modules.
Still I can't find youtube in the admin->site conf->video.

earchamb’s picture

I had the same problem...

We need to manually enter the path admin/settings/video/youtube to see additional options.
There is no link (no tab) for YouTube in the settings.

jenlampton’s picture

There is a link, in your Navigation > Administer >Site Config > Video > youtube... it's a child of video, so I missed it the first 8 times as well. But yes, I posted the path because I was hoping to save people the trouble of locating that link.

Jen

prezaeis’s picture

im still getting this error even though iv placed my dev id in the youtube field
any ideas why?

tribsinpa’s picture

The issue may be that your PHP installation has "allow_url_include" disabled. I think it is disabled by default in a lot of new PHP installations now as it poses a security risk if you have poorly written code.

I was having the same problem and when I enable that setting in my PHP.ini it worked.

prezaeis’s picture

im in my php.ini file now but there is no such option!!!! i dont have a allow_url_include

prezaeis’s picture

ok i manually added the the include command in php.ini, still not working :(

prokopton’s picture

Some settings will -not- work on my local workstation but will work live on my ISP's server.

I entered the YouTube Developer ID code from " admin/settings/video/youtube "and it worked live on the server but I couldn't get it to work on my laptop. I'm using PHP 5.x on my laptop and my ISP has PHP 4.x installed. The configurations are a bit different so I would probably try from your workstation and the live server to see if there are any differences.

decibel.places’s picture

still getting errors

I have

  1. checked the module version,
  2. tried the video_youtube.module patch,
  3. checked my Google/YouTube Developer Key and Client Id,
  4. added "allow_url_include = On" to php.ini....
  5. I have installed the Embed Filter and Video Filter modules

still getting:

The Youtube Video URL validation has failed for some reason. Please check the URL and try again.
If the error persists please contact My Sports Videos administrators.
The Youtube validation service reported the following error: Unknown method specified.

and Youtube Video URL: * is highlighted in red

cwhitmore’s picture

I am getting the same error as the original poster, but when I tried to access the dev ID link in YouTube to get a key I got this error:

The APIs accessed by this developer ID program have been deprecated and are no longer supported. To use the new APIs or get information about migrating your applications, please visit the YouTube Developer site at code.google.com.

I went to the code website, but have no idea what I'm looking for. Can someone tell me what I need to get this working with YouTube?

decibel.places’s picture

I went to the code website, but have no idea what I'm looking for.

try this URL http://code.google.com/apis/youtube/dashboard/

you will need to sign up for a Google developer account

even with this key I was getting an error, haven't checked lately

it was suggested that the verification happens in the Drupal video module, not on Google, so perhaps there is a way to bypass that verification process...

[EDIT] So far, the site I am developing uses uploaded video clips which the video module handles well - but eventually I see a potential for YouTube clips too, so eventually I should be tackling this issue

cwhitmore’s picture

Thanks for the heads up. Same thing here. The error continues to come up after I entered the Dev ID.

It's a shame that we can't get this working. YouTube handles my HD videos much better then Google.
If you come across a fix please let me know.

Evangelo’s picture

Status: Closed (fixed) » Active
decibel.places’s picture

Version: 5.x-1.x-dev » 6.x-2.x-dev
Status: Active » Closed (fixed)

First of all, this is working in 6.x-2.4 so this issue may be closed

@#30 Evangelo

When adding ANY module it is a good idea to look at the README.txt that comes with it

there are installation directions here http://video.heidisoft.com/docs/users-guide-3 (although they are not presented optimally, IMO)

Here is how to sign up for the Developer ID and YouTube Key:

Sign up for a Google account at https://www.google.com/accounts/NewAccount

If you use any Google products (Gmail, Webmaster Tools, Google Analytics, YouTube etc) you probably already have an account so try log in https://www.google.com/accounts/Login

Then after you log in get your YouTube keys at http://code.google.com/apis/youtube/dashboard/gwt/index.html

--OR--

http://www.youtube.com/my_profile_dev will redirect to http://code.google.com/apis/youtube/getting_started.html

In the left menu click on "Register Developer Keys"

click on the "New Product" button, enter the information to get the developer key and client ID

Evangelo’s picture

Status: Active » Closed (fixed)
decibel.places’s picture

This thread is about the 6.x version, and in its most recent release it works - for example http://faiththedog.info/videos/faith-oprah

I have also had an issue with 5.x, I have not checked recently if an update is available and usable

Please make sure you are using the latest "recommended" 5.x version, and if that does not work, try the latest 5.x-dev version

Evangelo’s picture